package edu.zju.udms.dnavigator.entities.mysql;

import edu.zju.udms.dnavigator.core.entity.AttributeType;
import edu.zju.udms.dnavigator.core.entity.AttributeTypeEnum;
import edu.zju.udms.dnavigator.core.entity.Entity;
import edu.zju.udms.dnavigator.core.entity.GeneralType;
import static edu.zju.udms.dnavigator.entities.mysql.MySQLExtractor.SOURCE;
public class MySQLDatabase extends Entity{
	@AttributeType(AttributeTypeEnum.Key)
	public String hostName;
	
	public MySQLDatabase(){}
	public MySQLDatabase(String hostName,String name) {
		super(name, name, GeneralType.Database, SOURCE, 0, 0, null,name, null);
		this.hostName=hostName;
	}

	private static final long serialVersionUID = 5509759414976651857L;

	public String getHostName() {
		return hostName;
	}
	public void setHostName(String hostName) {
		this.hostName = hostName;
	}
	
}
